<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>技术实干营 - 学实战技能，用工具提效</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
  
  <!-- 自定义Tailwind配置 -->
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            primary: '#409eff',
            python: '#3776AB',
            java: '#007396',
            mysql: '#00758F',
            secondary: '#6b7280',
            light: '#f5f7fa',
            dark: '#333333'
          },
          fontFamily: {
            sans: ['Inter', 'system-ui', 'sans-serif'],
          },
        },
      }
    }
  </script>
  
  <style type="text/tailwindcss">
    @layer utilities {
      .content-auto {
        content-visibility: auto;
      }
      .card-hover {
        @apply transition-all duration-300 hover:shadow-lg hover:-translate-y-1;
      }
      .btn-primary {
        @apply bg-primary text-white px-6 py-3 rounded-lg font-medium hover:bg-primary/90 transition;
      }
      .btn-secondary {
        @apply border border-primary text-primary px-6 py-3 rounded-lg font-medium hover:bg-primary/5 transition;
      }
    }
  </style>
</head>

<body class="bg-white font-sans text-dark">
  <!-- 导航栏（一级入口，清晰不重复） -->
  <nav class="sticky top-0 z-50 bg-white shadow-sm transition-all duration-300" id="navbar">
    <div class="container mx-auto px-4 sm:px-6 lg:px-8">
      <div class="flex justify-between items-center h-16">
        <!-- Logo区域 -->
        <div class="flex items-center">
          <a href="#" class="flex items-center gap-2">
            <i class="fa fa-code text-primary text-2xl"></i>
            <span class="text-xl font-bold text-dark">技术实干营</span>
          </a>
        </div>

        <!-- 一级入口（无重复命名） -->
        <div class="hidden md:flex items-center space-x-8">
          <a href="#" class="text-primary font-medium">首页</a>
          <div class="relative group">
            <a href="#" class="text-secondary hover:text-primary transition flex items-center gap-1">
              学习中心
              <i class="fa fa-angle-down text-xs"></i>
            </a>
            <!-- 子分类（技术类目，明确是学习中心下的内容） -->
            <div class="absolute left-0 mt-2 w-48 bg-white shadow-lg rounded-lg overflow-hidden opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-300 z-50">
              <a href="#" class="block px-4 py-2 hover:bg-light flex items-center gap-2">
                <span class="w-2 h-2 rounded-full bg-python"></span> Python
              </a>
              <a href="#" class="block px-4 py-2 hover:bg-light flex items-center gap-2">
                <span class="w-2 h-2 rounded-full bg-java"></span> Java
              </a>
              <a href="#" class="block px-4 py-2 hover:bg-light flex items-center gap-2">
                <span class="w-2 h-2 rounded-full bg-mysql"></span> MySQL
              </a>
            </div>
          </div>
          <a href="#" class="text-secondary hover:text-primary transition">工具商铺</a>
          <a href="#" class="text-secondary hover:text-primary transition">创意对接</a>
          <a href="#" class="text-secondary hover:text-primary transition">关于我们</a>
        </div>

        <!-- 搜索+登录注册 -->
        <div class="hidden md:flex items-center gap-4">
          <div class="relative w-64">
            <input type="text" placeholder="搜Python/Java/MySQL教程/工具" 
                  class="w-full pl-10 pr-4 py-2 border border-gray-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary transition text-sm">
            <i class="fa fa-search absolute left-3 top-1/2 -translate-y-1/2 text-gray-400"></i>
          </div>
          <a href="#" class="text-secondary hover:text-primary transition">登录</a>
          <a href="#" class="btn-primary px-4 py-2 text-sm">注册</a>
        </div>

        <!-- 移动端菜单按钮 -->
        <div class="md:hidden flex items-center gap-4">
          <button class="text-secondary hover:text-primary">
            <i class="fa fa-search text-xl"></i>
          </button>
          <button class="text-secondary hover:text-primary" id="menuBtn">
            <i class="fa fa-bars text-xl"></i>
          </button>
        </div>
      </div>
    </div>

    <!-- 移动端菜单 -->
    <div class="md:hidden hidden bg-white border-t" id="mobileMenu">
      <div class="container mx-auto px-4 py-3 space-y-3">
        <div class="py-2">
          <a href="#" class="block text-primary font-medium mb-2">学习中心</a>
          <div class="pl-4 space-y-1">
            <a href="#" class="block py-1 text-secondary hover:text-primary transition flex items-center gap-2">
              <span class="w-2 h-2 rounded-full bg-python"></span> Python
            </a>
            <a href="#" class="block py-1 text-secondary hover:text-primary transition flex items-center gap-2">
              <span class="w-2 h-2 rounded-full bg-java"></span> Java
            </a>
            <a href="#" class="block py-1 text-secondary hover:text-primary transition flex items-center gap-2">
              <span class="w-2 h-2 rounded-full bg-mysql"></span> MySQL
            </a>
          </div>
        </div>
        <a href="#" class="block py-2 text-secondary hover:text-primary transition">工具商铺</a>
        <a href="#" class="block py-2 text-secondary hover:text-primary transition">创意对接</a>
        <a href="#" class="block py-2 text-secondary hover:text-primary transition">关于我们</a>
        <div class="pt-2 flex gap-3">
          <a href="#" class="flex-1 text-center border border-gray-200 py-2 rounded-lg text-secondary hover:bg-gray-50 transition">登录</a>
          <a href="#" class="flex-1 text-center btn-primary py-2 rounded-lg">注册</a>
        </div>
      </div>
    </div>
  </nav>

  <!-- 头部Banner（核心价值，不重复模块名） -->
  <section class="bg-light py-12 md:py-20">
    <div class="container mx-auto px-4 sm:px-6 lg:px-8">
      <div class="flex flex-col md:flex-row items-center gap-8 md:gap-0">
        <div class="w-full md:w-3/5">
          <h1 class="text-[clamp(1.8rem,4vw,2.8rem)] font-bold leading-tight mb-4">
            学实用技术，用工具提效<br>从入门到变现，一站式搞定
          </h1>
          <p class="text-secondary text-lg md:text-xl mb-8 max-w-xl">
            覆盖Python、Java、MySQL等热门技术，让学习落地，让技能变现
          </p>
          <div class="flex flex-col sm:flex-row gap-4">
            <a href="#" class="btn-primary text-center">开始探索 →</a>
            <a href="#" class="btn-secondary text-center">了解更多</a>
          </div>
        </div>
        <div class="w-full md:w-2/5">
          <div class="bg-white rounded-xl shadow-md p-4">
            <div class="grid grid-cols-3 gap-2">
              <div class="aspect-video bg-python/10 rounded-lg flex items-center justify-center">
                <i class="fa fa-python text-python text-3xl"></i>
              </div>
              <div class="aspect-video bg-java/10 rounded-lg flex items-center justify-center">
                <i class="fa fa-coffee text-java text-3xl"></i>
              </div>
              <div class="aspect-video bg-mysql/10 rounded-lg flex items-center justify-center">
                <i class="fa fa-database text-mysql text-3xl"></i>
              </div>
              <div class="col-span-3 aspect-video bg-primary/10 rounded-lg mt-2 flex items-center justify-center">
                <i class="fa fa-wrench text-primary text-5xl mr-2"></i>
                <i class="fa fa-handshake-o text-primary text-5xl"></i>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- 技术分类（明确归属“学习中心”的子分类，非独立模块） -->
  <section class="py-12">
    <div class="container mx-auto px-4 sm:px-6 lg:px-8">
      <!-- 明确标注“学习中心”下的分类，避免与一级入口混淆 -->
      <h2 class="text-2xl font-bold mb-8 text-center">学习中心 · 热门技术分类</h2>
      <div class="flex overflow-x-auto pb-4 gap-4 justify-center">
        <a href="#" class="flex-shrink-0 bg-python/10 border-2 border-python text-python px-6 py-3 rounded-lg font-medium flex items-center gap-2 card-hover">
          <i class="fa fa-python"></i>
          <span>Python</span>
        </a>
        <a href="#" class="flex-shrink-0 bg-white border border-gray-200 text-secondary hover:text-java hover:border-java px-6 py-3 rounded-lg font-medium flex items-center gap-2 card-hover">
          <i class="fa fa-coffee"></i>
          <span>Java</span>
        </a>
        <a href="#" class="flex-shrink-0 bg-white border border-gray-200 text-secondary hover:text-mysql hover:border-mysql px-6 py-3 rounded-lg font-medium flex items-center gap-2 card-hover">
          <i class="fa fa-database"></i>
          <span>MySQL</span>
        </a>
        <a href="#" class="flex-shrink-0 bg-white border border-gray-200 text-secondary hover:text-primary hover:border-primary px-6 py-3 rounded-lg font-medium flex items-center gap-2 card-hover">
          <i class="fa fa-code"></i>
          <span>前端开发</span>
        </a>
      </div>
    </div>
  </section>

  <!-- 核心模块引导区（场景化描述，不重复命名，强化一级入口价值） -->
  <section class="py-12">
    <div class="container mx-auto px-4 sm:px-6 lg:px-8">
      <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
        <!-- 学习中心引导（描述价值，不重复命名） -->
        <div class="bg-white rounded-xl shadow-sm p-8 card-hover border border-gray-100">
          <div class="w-16 h-16 bg-primary/10 rounded-lg flex items-center justify-center mb-6">
            <i class="fa fa-graduation-cap text-primary text-2xl"></i>
          </div>
          <h3 class="text-xl font-bold mb-3">系统学习路径</h3>
          <p class="text-secondary mb-6">从零基础到实战高手，Python/Java/MySQL等技术循序渐进，配套练习+答疑</p>
          <a href="#" class="inline-flex items-center text-primary font-medium hover:underline">
            进入学习中心 →
          </a>
        </div>

        <!-- 工具商铺引导（描述价值，不重复命名） -->
        <div class="bg-white rounded-xl shadow-sm p-8 card-hover border border-gray-100">
          <div class="w-16 h-16 bg-primary/10 rounded-lg flex items-center justify-center mb-6">
            <i class="fa fa-toolbox text-primary text-2xl"></i>
          </div>
          <h3 class="text-xl font-bold mb-3">高效工具集合</h3>
          <p class="text-secondary mb-6">自动化脚本、数据处理模板、代码生成器，直接下载使用，提升工作效率</p>
          <a href="#" class="inline-flex items-center text-primary font-medium hover:underline">
            逛工具商铺 →
          </a>
        </div>

        <!-- 创意对接引导（描述价值，不重复命名） -->
        <div class="bg-white rounded-xl shadow-sm p-8 card-hover border border-gray-100">
          <div class="w-16 h-16 bg-primary/10 rounded-lg flex items-center justify-center mb-6">
            <i class="fa fa-exchange text-primary text-2xl"></i>
          </div>
          <h3 class="text-xl font-bold mb-3">技能变现平台</h3>
          <p class="text-secondary mb-6">发布技术需求、承接订单，Python/Java等技能直接转化为收入</p>
          <a href="#" class="inline-flex items-center text-primary font-medium hover:underline">
            去创意对接 →
          </a>
        </div>
      </div>
    </div>
  </section>

  <!-- 热门内容推荐（明确归属一级入口，如“学习中心热门教程”） -->
  <section class="py-16 bg-light">
    <div class="container mx-auto px-4 sm:px-6 lg:px-8">
      <div class="flex flex-col md:flex-row gap-12">
        <!-- 学习中心的热门教程（明确归属） -->
        <div class="w-full md:w-1/2">
          <h2 class="text-2xl font-bold mb-6 flex items-center">
            <span>学习中心 · 热门教程</span>
            <span class="ml-2 h-1 w-10 bg-primary"></span>
          </h2>
          <div class="space-y-4">
            <a href="#" class="bg-white rounded-lg shadow-sm p-4 flex gap-4 card-hover border-l-4 border-python">
              <div class="w-24 h-24 bg-python/10 rounded flex items-center justify-center flex-shrink-0">
                <i class="fa fa-file-excel-o text-python text-3xl"></i>
              </div>
              <div class="flex-1">
                <div class="flex items-center gap-2 mb-1">
                  <span class="text-xs bg-python/10 text-python px-2 py-1 rounded">Python</span>
                  <span class="text-xs text-secondary">职场效率</span>
                </div>
                <h3 class="font-medium mb-2 line-clamp-1">Python批量处理Excel数据</h3>
                <p class="text-secondary text-sm mb-2 line-clamp-1">自动统计、报表生成，告别重复工作</p>
                <div class="flex items-center text-sm text-secondary">
                  <i class="fa fa-user-o mr-1"></i> 1200人已学
                </div>
              </div>
            </a>
            <a href="#" class="bg-white rounded-lg shadow-sm p-4 flex gap-4 card-hover border-l-4 border-java">
              <div class="w-24 h-24 bg-java/10 rounded flex items-center justify-center flex-shrink-0">
                <i class="fa fa-window-maximize text-java text-3xl"></i>
              </div>
              <div class="flex-1">
                <div class="flex items-center gap-2 mb-1">
                  <span class="text-xs bg-java/10 text-java px-2 py-1 rounded">Java</span>
                  <span class="text-xs text-secondary">入门</span>
                </div>
                <h3 class="font-medium mb-2 line-clamp-1">Java基础：第一个HelloWorld程序</h3>
                <p class="text-secondary text-sm mb-2 line-clamp-1">环境搭建、代码编写、运行调试全流程</p>
                <div class="flex items-center text-sm text-secondary">
                  <i class="fa fa-user-o mr-1"></i> 750人已学
                </div>
              </div>
            </a>
          </div>
        </div>

        <!-- 工具商铺的热门工具（明确归属） -->
        <div class="w-full md:w-1/2">
          <h2 class="text-2xl font-bold mb-6 flex items-center">
            <span>工具商铺 · 高频使用工具</span>
            <span class="ml-2 h-1 w-10 bg-primary"></span>
          </h2>
          <div class="space-y-4">
            <a href="#" class="bg-white rounded-lg shadow-sm p-4 flex gap-4 card-hover">
              <div class="w-24 h-24 bg-python/10 rounded flex items-center justify-center flex-shrink-0">
                <i class="fa fa-calculator text-python text-3xl"></i>
              </div>
              <div class="flex-1">
                <div class="flex items-center gap-2 mb-1">
                  <span class="text-xs bg-python/10 text-python px-2 py-1 rounded">Python工具</span>
                  <span class="text-xs bg-primary/10 text-primary px-2 py-1 rounded">办公效率</span>
                </div>
                <h3 class="font-medium mb-2 line-clamp-1">Excel工资表自动统计工具</h3>
                <p class="text-secondary text-sm mb-2 line-clamp-1">1秒生成薪资汇总、个税计算</p>
                <div class="flex items-center text-sm text-secondary">
                  <i class="fa fa-download mr-1"></i> 800次使用
                </div>
              </div>
            </a>
            <a href="#" class="bg-white rounded-lg shadow-sm p-4 flex gap-4 card-hover">
              <div class="w-24 h-24 bg-mysql/10 rounded flex items-center justify-center flex-shrink-0">
                <i class="fa fa-search-plus text-mysql text-3xl"></i>
              </div>
              <div class="flex-1">
                <div class="flex items-center gap-2 mb-1">
                  <span class="text-xs bg-mysql/10 text-mysql px-2 py-1 rounded">MySQL工具</span>
                  <span class="text-xs bg-primary/10 text-primary px-2 py-1 rounded">查询优化</span>
                </div>
                <h3 class="font-medium mb-2 line-clamp-1">MySQL语句生成器</h3>
                <p class="text-secondary text-sm mb-2 line-clamp-1">可视化配置，自动生成增删改查语句</p>
                <div class="flex items-center text-sm text-secondary">
                  <i class="fa fa-download mr-1"></i> 530次使用
                </div>
              </div>
            </a>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- 创意对接展示（明确归属一级入口） -->
  <section class="py-16">
    <div class="container mx-auto px-4 sm:px-6 lg:px-8">
      <h2 class="text-2xl font-bold mb-8 flex items-center">
        <span>创意对接 · 最新需求</span>
        <span class="ml-2 h-1 w-10 bg-primary"></span>
      </h2>
      <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
        <div class="bg-white rounded-xl shadow-sm p-6 card-hover border border-gray-100">
          <div class="flex justify-between items-start mb-4">
            <div>
              <h3 class="font-bold text-lg">Python自动化报表脚本开发</h3>
              <div class="flex items-center gap-2 mt-2">
                <span class="text-xs bg-python/10 text-python px-2 py-1 rounded">Python</span>
                <span class="text-xs bg-primary/10 text-primary px-2 py-1 rounded">￥500-800</span>
              </div>
            </div>
            <span class="bg-light text-secondary text-sm px-3 py-1 rounded-full">2天前发布</span>
          </div>
          <p class="text-secondary text-sm mb-4">需要开发一个自动抓取数据、生成日报表的Python脚本，要求支持Excel导出</p>
          <a href="#" class="text-primary text-sm font-medium hover:underline">查看详情 →</a>
        </div>
        <div class="bg-white rounded-xl shadow-sm p-6 card-hover border border-gray-100">
          <div class="flex justify-between items-start mb-4">
            <div>
              <h3 class="font-bold text-lg">MySQL数据库设计与优化</h3>
              <div class="flex items-center gap-2 mt-2">
                <span class="text-xs bg-mysql/10 text-mysql px-2 py-1 rounded">MySQL</span>
                <span class="text-xs bg-primary/10 text-primary px-2 py-1 rounded">￥1000-1500</span>
              </div>
            </div>
            <span class="bg-light text-secondary text-sm px-3 py-1 rounded-full">1天前发布</span>
          </div>
          <p class="text-secondary text-sm mb-4">为小型电商网站设计MySQL数据库表结构，优化查询性能，提供备份方案</p>
          <a href="#" class="text-primary text-sm font-medium hover:underline">查看详情 →</a>
        </div>
      </div>
    </div>
  </section>

  <!-- 用户反馈 -->
  <section class="py-16 bg-light">
    <div class="container mx-auto px-4 sm:px-6 lg:px-8">
      <h2 class="text-2xl font-bold mb-10 text-center">用户怎么说</h2>
      <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
        <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100">
          <div class="flex text-yellow-400 mb-4">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
          </div>
          <p class="text-secondary mb-4">"学习中心的Python教程很实用，学完直接用工具商铺的脚本处理工作，效率提升太多了！"</p>
          <div class="flex items-center">
            <div class="w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3">
              <i class="fa fa-user text-gray-400"></i>
            </div>
            <div>
              <div class="font-medium text-sm">李同学 | 行政岗</div>
            </div>
          </div>
        </div>
        <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100">
          <div class="flex text-yellow-400 mb-4">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
          </div>
          <p class="text-secondary mb-4">"通过创意对接接到了第一单Java开发的活儿，虽然简单，但成就感满满，平台很靠谱！"</p>
          <div class="flex items-center">
            <div class="w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3">
              <i class="fa fa-user text-gray-400"></i>
            </div>
            <div>
              <div class="font-medium text-sm">王同学 | 编程入门</div>
            </div>
          </div>
        </div>
        <div class="bg-white p-6 rounded-xl shadow-sm border border-gray-100">
          <div class="flex text-yellow-400 mb-4">
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star"></i>
            <i class="fa fa-star-half-o"></i>
          </div>
          <p class="text-secondary mb-4">"MySQL工具帮我解决了工作中的查询难题，现在已经能独立处理公司的数据了，准备再学Python拓展技能。"</p>
          <div class="flex items-center">
            <div class="w-10 h-10 bg-gray-200 rounded-full flex items-center justify-center mr-3">
              <i class="fa fa-user text-gray-400"></i>
            </div>
            <div>
              <div class="font-medium text-sm">张同学 | 运营岗</div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <!-- 底部 -->
  <footer class="bg-dark text-white py-12">
    <div class="container mx-auto px-4 sm:px-6 lg:px-8">
      <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
        <div>
          <div class="flex items-center gap-2 mb-4">
            <i class="fa fa-code text-primary text-2xl"></i>
            <span class="text-xl font-bold">技术实干营</span>
          </div>
          <p class="text-gray-400 mb-4">专注Python、Java、MySQL等实用技术，让学习落地，让技能变现。</p>
          <div class="flex gap-4">
            <a href="#" class="text-gray-400 hover:text-primary transition"><i class="fa fa-weixin text-xl"></i></a>
            <a href="#" class="text-gray-400 hover:text-primary transition"><i class="fa fa-weibo text-xl"></i></a>
            <a href="#" class="text-gray-400 hover:text-primary transition"><i class="fa fa-github text-xl"></i></a>
          </div>
        </div>
        <div>
          <h4 class="font-bold mb-4">快速导航</h4>
          <ul class="space-y-2">
            <li><a href="#" class="text-gray-400 hover:text-primary transition">首页</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition">学习中心</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition">工具商铺</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition">创意对接</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition">关于我们</a></li>
          </ul>
        </div>
        <div>
          <h4 class="font-bold mb-4">技术分类</h4>
          <ul class="space-y-2">
            <li><a href="#" class="text-gray-400 hover:text-python transition">Python</a></li>
            <li><a href="#" class="text-gray-400 hover:text-java transition">Java</a></li>
            <li><a href="#" class="text-gray-400 hover:text-mysql transition">MySQL</a></li>
            <li><a href="#" class="text-gray-400 hover:text-primary transition">前端开发</a></li>
          </ul>
        </div>
        <div>
          <h4 class="font-bold mb-4">联系我们</h4>
          <ul class="space-y-2">
            <li class="flex items-center gap-2 text-gray-400">
              <i class="fa fa-weixin"></i>
              <span>techcamp_wechat</span>
            </li>
            <li class="flex items-center gap-2 text-gray-400">
              <i class="fa fa-envelope"></i>
              <span>contact@techcamp.com</span>
            </li>
          </ul>
        </div>
      </div>
      <div class="mt-12 pt-6 border-t border-gray-800 text-center text-gray-500 text-sm">
        © 2023 技术实干营 版权所有 | 专注实用技术学习与变现
      </div>
    </div>
  </footer>

  <script>
    // 移动端菜单切换
    const menuBtn = document.getElementById('menuBtn');
    const mobileMenu = document.getElementById('mobileMenu');
    menuBtn.addEventListener('click', () => {
      mobileMenu.classList.toggle('hidden');
    });

    // 导航栏滚动效果
    window.addEventListener('scroll', () => {
      const navbar = document.getElementById('navbar');
      if (window.scrollY > 50) {
        navbar.classList.add('shadow');
      } else {
        navbar.classList.remove('shadow');
      }
    });
  </script>
</body>
</html>